package com.study.signin_demo2.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.signin_demo2.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author whx
 * @date 2022/2/18
 */
public interface UserMapper extends BaseMapper<User> {

    User getUserByUserName(String username);

    List<User> select(@Param("user")User user);
}
